import Layout from "@/layouts/index.vue"
import Main from "@/layouts/components/main.vue"
export default [
  {
    path: "/resource",
    name: "resource",
    meta: {
      icon: "icon-gongzuotai",
      title: "基础资源管理",
    },
    component: Layout,
    redirect: "/professor",
    children: [
      {
        path: "/professorManagement",
        name: "professorManagement",
        redirect: "/professor",
        meta: {
          title: "教授管理",
        },
        component: Main,
        children: [
          {
            path: "/professor",
            name: "professor",
            title: "教授管理",
            meta: {},
            component: import("@/views/resourceManagement/professor/list/index.vue"),
          },
          {
            path: "/professorDetailed/:id",
            name: "professorDetailed",
            meta: {
              title: "教授详情",
              // hidden: true,
              // detailedTabmenu: true,
              isDetailed: true,
            },
            component: import("@/views/resourceManagement/professor/detailedOpen/index.vue"),
          },
        ],
      },
      {
        path: "/assistantManagement",
        name: "assistantManagement",
        
        redirect: "/assistant",
        meta: {
          title: "助教管理",
        },
        component: Main,
        children: [
          {
            path: "/assistant",
            name: "assistant",
            meta: {
              hidden: true,
              title: "助教管理",
            },
            component: import("@/views/resourceManagement/assistant/list/index.vue"),
          },
          {
            path: "/assistantDetailed/:id",
            name: "assistantDetailed",
            
            meta: {
              hidden: true,
              detailedTabmenu: true,
              title: "助教管理",
            },
            component: import("@/views/resourceManagement/professor/detailed/index.vue"),
          },
        ],
      },
      {
        path: "/interviewListManagement",
        name: "interviewListManagement",
        redirect: "/interview",
        meta: {
          title: "面试官管理",
        },
        component: Main,
        children: [
          {
            path: "/interview",
            name: "interview",
            
            meta: {
              hidden: true,
              title: "面试官管理",
            },
            component: import("@/views/resourceManagement/interview/index.vue"),
          },
        ],
      }
    ],
  },
]
